package com.sharemarking.wa.platform.dto.orderCommon;

/**
 * @author dxy
 */
public class StateListDto {
    private String name;
    private Integer value;
    private Integer state;

    public Integer getValue() {
        return value;
    }

    public StateListDto setValue(Integer value) {
        this.value = value;
        return this;
    }

    public String getName() {
        return name;
    }

    public StateListDto setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getState() {
        if (state==null){
            return 0;
        }
        return state;
    }

    public StateListDto setState(Integer state) {
        this.state = state;
        return this;
    }
}
